<?php

// Set up the Post Types
add_action( 'init', 'riv_register_post_type' );

// Register Post Types
function riv_register_post_type() {
	
	// Set up argument for River Post Type
	$river_args = array(
		'public' => true,
		'query_var' => 'river',
		'has_archive' => true,
		'supports' => array(
			'title',
			'editor',
			'thumbnail',
			'comments', 
			'revisions',
			),
		'labels' => array(
			'name' => 'Rivers',
			'singular_name' => 'River',
			'add_new' => 'Add New River',
			'add_new_item' => 'Add New River',
			'edit_item' => 'Edit River',
			'new_item' => 'New River',
			'view_item' => 'View River',
			'search_items' => 'Search Albums',
			'not_found' => 'No Rivers Found',
			'not_found_in_trash' => 'No Rivers Found in Trash'
			)
		);
	
	// Register River Post Type
	register_post_type( 'river', $river_args );
	
	};


?>